package xyz.zinglizingli.novel.mapper;

import org.apache.ibatis.annotations.Param;
import xyz.zinglizingli.novel.po.NovelContent;
import xyz.zinglizingli.novel.po.NovelContentExample;

import java.util.List;

public interface NovelContentMapper {
    int countByExample(NovelContentExample example);

    int deleteByExample(NovelContentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(NovelContent record);

    int insertSelective(NovelContent record);

    List<NovelContent> selectByExampleWithBLOBs(NovelContentExample example);

    List<NovelContent> selectByExample(NovelContentExample example);

    NovelContent selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") NovelContent record, @Param("example") NovelContentExample example);

    int updateByExampleWithBLOBs(@Param("record") NovelContent record, @Param("example") NovelContentExample example);

    int updateByExample(@Param("record") NovelContent record, @Param("example") NovelContentExample example);

    int updateByPrimaryKeySelective(NovelContent record);

    int updateByPrimaryKeyWithBLOBs(NovelContent record);

    int updateByPrimaryKey(NovelContent record);
}